package org.bee.transaction;

import org.springframework.transaction.PlatformTransactionManager;
import org.springframework.transaction.TransactionDefinition;

public interface Transaction {
    void begin();

    void commit();

    void rollback();

    void setTxManager(PlatformTransactionManager transactionManager);

    void setTransactionDefinition(TransactionDefinition txDefinition);
}
